import request from '@/utils/request'

// 获取左上角
export const getMarketOverview = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseMarketing/query/mrketingOverview',
    params: params,
  })
}

// 获取左中部位 批准预售月末统计
export const getMonthEndStatistics = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseMarketing/query/monthEndStatistics',
    params: params,
  })
}
// 获取左中部位 商品住房累计可售
export const getCumulativeSale = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseMarketing/query/cumulativeSale',
    params: params,
  })
}

// 获取左下角 预售信息
export const getPreSale = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseMarketing/query/preSale',
    params: params,
  })
}
// 获取左下角 现售备案信息
export const getSaleRecord = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseMarketing/query/record',
    params: params,
  })
}


// 获取右上 昨日成交情况
export const getYesterdayDeal = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseMarketing/query/yesterdayDeal',
    params: params,
  })
}

// 获取右上 当月成交情况
export const getMonthDeal = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseMarketing/query/monthDeal',
    params: params,
  })
}

// 获取右下：库存房-昨日成交
export const getStorageYesterdayDeal = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseMarketing/query/KCFyesterdayDeal',
    params: params,
  })
}

// 获取右下：库存房-当月成交
export const getStorageMonthDeal = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/houseMarketing/query/KCFmonthDeal',
    params: params,
  })
}

